package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * https://github.com/CymChad/BaseRecyclerViewAdapterHelper
 */

public class SelectItem  implements BaseEntity{

    private Long id;
    private String img;
    private Integer name;
    private boolean isCheck;
    private int type;
    private int dantuoType;
    private boolean isDantuo;

    public boolean isDantuo() {
        return isDantuo;
    }

    public void setDantuo(boolean dantuo) {
        isDantuo = dantuo;
    }

    public int getDantuoType() {
        return dantuoType;
    }

    public void setDantuoType(int dantuoType) {
        this.dantuoType = dantuoType;
    }

    public SelectItem(Integer name, int type, boolean isCheck) {
        this.name = name;
        this.isCheck = isCheck;
        this.type=type;
    }

    public SelectItem(Integer name,  int type, boolean isCheck,int dantuoType,boolean isDanTuo) {
        this.name = name;
        this.isCheck = isCheck;
        this.type = type;
        this.dantuoType = dantuoType;
        this.isDantuo=isDanTuo;
    }

    public SelectItem(Long id, String img, Integer name, boolean isCheck,
                      int type) {
        this.id = id;
        this.img = img;
        this.name = name;
        this.isCheck = isCheck;
        this.type = type;
    }

    public SelectItem() {
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getName() {
        return name;
    }

    public void setName(Integer name) {
        this.name = name;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SelectItem{" +
                "name=" + name +
                ", isCheck=" + isCheck +
                ", type=" + type +
                '}';
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public boolean getIsCheck() {
        return this.isCheck;
    }

    public void setIsCheck(boolean isCheck) {
        this.isCheck = isCheck;
    }

}
